package com.edu.bean;/**
 * @Author:hcb
 * @Date:2025/9/19-09-19-11:47
 */

/**
 *@Author:hcb
 *@Date:2025/9/19-09-19-11:47
 */
public class Goods {
    private int goodsId;

    private String goodsName;

    private String goodsFactory;

    private String goodsType;

    private double goodsPrice;

    private int goodsNum;

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsFactory() {
        return goodsFactory;
    }

    public void setGoodsFactory(String goodsFactory) {
        this.goodsFactory = goodsFactory;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public int getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(int goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Goods() {

    }

    @Override
    public String toString() {
        return "Goods [goodsId=" + goodsId + ", goodsName=" + goodsName + ", goodsFactory=" + goodsFactory
                + ", goodsType=" + goodsType + ", goodsPrice=" + goodsPrice + ", goodsNum=" + goodsNum + "]";
    }


}
